Optimal. Leaf size=188 \[ \frac{\sqrt{2} \sqrt{b^2-4 a c} \sqrt{d+e x} \sqrt{-\frac{c \left (a+b x+c x^2\right )}{b^2-4 a c}} E\left (\sin ^{-1}\left (\frac{\sqrt{\frac{b+2 c x+\sqrt{b^2-4 a c}}{\sqrt{b^2-4 a c}}}}{\sqrt{2}}\right )|-\frac{2 \sqrt{b^2-4 a c} e}{2 c d-\left (b+\sqrt{b^2-4 a c}\right ) e}\right )}{c \sqrt{a+b x+c x^2} \sqrt{\frac{c (d+e x)}{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0686928, antiderivative size = 188, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.083, Rules used = {718, 424} \[ \frac{\sqrt{2} \sqrt{b^2-4 a c} \sqrt{d+e x} \sqrt{-\frac{c \left (a+b x+c x^2\right )}{b^2-4 a c}} E\left (\sin ^{-1}\left (\frac{\sqrt{\frac{b+2 c x+\sqrt{b^2-4 a c}}{\sqrt{b^2-4 a c}}}}{\sqrt{2}}\right )|-\frac{2 \sqrt{b^2-4 a c} e}{2 c d-\left (b+\sqrt{b^2-4 a c}\right ) e}\right )}{c \sqrt{a+b x+c x^2} \sqrt{\frac{c (d+e x)}{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 718
Rule 424
Rubi steps
\begin{align*} \int \frac{\sqrt{d+e x}}{\sqrt{a+b x+c x^2}} \, dx &=\frac{\left (\sqrt{2} \sqrt{b^2-4 a c} \sqrt{d+e x} \sqrt{-\frac{c \left (a+b x+c x^2\right )}{b^2-4 a c}}\right ) \operatorname{Subst}\left (\int \frac{\sqrt{1+\frac{2 \sqrt{b^2-4 a c} e x^2}{2 c d-b e-\sqrt{b^2-4 a c} e}}}{\sqrt{1-x^2}} \, dx,x,\frac{\sqrt{\frac{b+\sqrt{b^2-4 a c}+2 c x}{\sqrt{b^2-4 a c}}}}{\sqrt{2}}\right )}{c \sqrt{\frac{c (d+e x)}{2 c d-b e-\sqrt{b^2-4 a c} e}} \sqrt{a+b x+c x^2}}\\ &=\frac{\sqrt{2} \sqrt{b^2-4 a c} \sqrt{d+e x} \sqrt{-\frac{c \left (a+b x+c x^2\right )}{b^2-4 a c}} E\left (\sin ^{-1}\left (\frac{\sqrt{\frac{b+\sqrt{b^2-4 a c}+2 c x}{\sqrt{b^2-4 a c}}}}{\sqrt{2}}\right )|-\frac{2 \sqrt{b^2-4 a c} e}{2 c d-\left (b+\sqrt{b^2-4 a c}\right ) e}\right )}{c \sqrt{\frac{c (d+e x)}{2 c d-\left (b+\sqrt{b^2-4 a c}\right ) e}} \sqrt{a+b x+c x^2}}\\ \end{align*}
Mathematica [C] time = 0.787024, size = 365, normalized size = 1.94 \[ \frac{i \left (e \left (\sqrt{b^2-4 a c}-b\right )+2 c d\right ) \sqrt{\frac{e \left (\sqrt{b^2-4 a c}+b+2 c x\right )}{e \left (\sqrt{b^2-4 a c}+b\right )-2 c d}} \sqrt{1-\frac{2 c (d+e x)}{e \left (\sqrt{b^2-4 a c}-b\right )+2 c d}} \left (E\left (i \sinh ^{-1}\left (\sqrt{2} \sqrt{\frac{c}{\left (b+\sqrt{b^2-4 a c}\right ) e-2 c d}} \sqrt{d+e x}\right )|\frac{2 c d-\left (b+\sqrt{b^2-4 a c}\right ) e}{2 c d+\left (\sqrt{b^2-4 a c}-b\right ) e}\right )-\text{EllipticF}\left (i \sinh ^{-1}\left (\sqrt{2} \sqrt{d+e x} \sqrt{\frac{c}{e \left (\sqrt{b^2-4 a c}+b\right )-2 c d}}\right ),\frac{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}{e \left (\sqrt{b^2-4 a c}-b\right )+2 c d}\right )\right )}{\sqrt{2} c e \sqrt{a+x (b+c x)} \sqrt{\frac{c}{e \left (\sqrt{b^2-4 a c}+b\right )-2 c d}}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.306, size = 747, normalized size = 4. \begin{align*}{\frac{\sqrt{2}}{2\,e \left ( ce{x}^{3}+be{x}^{2}+cd{x}^{2}+aex+bdx+ad \right ){c}^{2}}\sqrt{ex+d}\sqrt{c{x}^{2}+bx+a} \left ( e\sqrt{-4\,ac+{b}^{2}}+be-2\,cd \right ) \sqrt{-{c \left ( ex+d \right ) \left ( e\sqrt{-4\,ac+{b}^{2}}+be-2\,cd \right ) ^{-1}}}\sqrt{{e \left ( -b-2\,cx+\sqrt{-4\,ac+{b}^{2}} \right ) \left ( 2\,cd-be+e\sqrt{-4\,ac+{b}^{2}} \right ) ^{-1}}}\sqrt{{e \left ( b+2\,cx+\sqrt{-4\,ac+{b}^{2}} \right ) \left ( e\sqrt{-4\,ac+{b}^{2}}+be-2\,cd \right ) ^{-1}}} \left ({\it EllipticF} \left ( \sqrt{2}\sqrt{-{c \left ( ex+d \right ) \left ( e\sqrt{-4\,ac+{b}^{2}}+be-2\,cd \right ) ^{-1}}},\sqrt{-{ \left ( e\sqrt{-4\,ac+{b}^{2}}+be-2\,cd \right ) \left ( 2\,cd-be+e\sqrt{-4\,ac+{b}^{2}} \right ) ^{-1}}} \right ) eb-2\,d{\it EllipticF} \left ( \sqrt{2}\sqrt{-{\frac{c \left ( ex+d \right ) }{e\sqrt{-4\,ac+{b}^{2}}+be-2\,cd}}},\sqrt{-{\frac{e\sqrt{-4\,ac+{b}^{2}}+be-2\,cd}{2\,cd-be+e\sqrt{-4\,ac+{b}^{2}}}}} \right ) c-{\it EllipticF} \left ( \sqrt{2}\sqrt{-{c \left ( ex+d \right ) \left ( e\sqrt{-4\,ac+{b}^{2}}+be-2\,cd \right ) ^{-1}}},\sqrt{-{ \left ( e\sqrt{-4\,ac+{b}^{2}}+be-2\,cd \right ) \left ( 2\,cd-be+e\sqrt{-4\,ac+{b}^{2}} \right ) ^{-1}}} \right ) e\sqrt{-4\,ac+{b}^{2}}-{\it EllipticE} \left ( \sqrt{2}\sqrt{-{c \left ( ex+d \right ) \left ( e\sqrt{-4\,ac+{b}^{2}}+be-2\,cd \right ) ^{-1}}},\sqrt{-{ \left ( e\sqrt{-4\,ac+{b}^{2}}+be-2\,cd \right ) \left ( 2\,cd-be+e\sqrt{-4\,ac+{b}^{2}} \right ) ^{-1}}} \right ) be+2\,{\it EllipticE} \left ( \sqrt{2}\sqrt{-{\frac{c \left ( ex+d \right ) }{e\sqrt{-4\,ac+{b}^{2}}+be-2\,cd}}},\sqrt{-{\frac{e\sqrt{-4\,ac+{b}^{2}}+be-2\,cd}{2\,cd-be+e\sqrt{-4\,ac+{b}^{2}}}}} \right ) cd+{\it EllipticE} \left ( \sqrt{2}\sqrt{-{c \left ( ex+d \right ) \left ( e\sqrt{-4\,ac+{b}^{2}}+be-2\,cd \right ) ^{-1}}},\sqrt{-{ \left ( e\sqrt{-4\,ac+{b}^{2}}+be-2\,cd \right ) \left ( 2\,cd-be+e\sqrt{-4\,ac+{b}^{2}} \right ) ^{-1}}} \right ) \sqrt{-4\,ac+{b}^{2}}e \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{e x + d}}{\sqrt{c x^{2} + b x + a}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\sqrt{e x + d}}{\sqrt{c x^{2} + b x + a}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{d + e x}}{\sqrt{a + b x + c x^{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{e x + d}}{\sqrt{c x^{2} + b x + a}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]